<table class="table">
  <thead>
    <th class="first"><%= sort_link @search, :presentation, "#{t 'helpers.label.billingmethod.presentation'}" %></th>
    <th><%= sort_link @search, :price, "#{t 'helpers.label.billingmethod.price'}" %></th>
    <th><%= sort_link @search, :price, "#{t 'helpers.label.billingmethod.hidden'}" %></th>
    <th class="last" style="width: 20px;"></th>
  </thead>
  <tfoot>
    <th></th>
    <th colspan="10"><%= paginate billing_methods %></th>
  </tfoot>
  <tbody>
    <% unless billing_methods.blank? %>
      <%= render :partial => "billing_method", :collection => billing_methods %>
    <% else %>
    <tr>
      <th colspan="10">Nebyly nalezeny žádné metody placení.</th>
    </tr>
    <% end %>
  </tbody>
</table>